<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">

  <title>Cocos Creator | TestCustomWeb</title>

  <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1, minimum-scale=1,maximum-scale=1"/>
  <meta name="apple-mobile-web-app-capable" content="yes"/>
  <meta name="full-screen" content="yes"/>
  <meta name="screen-orientation" content="portrait"/>
  <meta name="x5-fullscreen" content="true"/>
  <meta name="360-fullscreen" content="true"/>

  <meta name="renderer" content="webkit"/>
  <meta name="force-rendering" content="webkit"/>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>

  <!-- <link rel="stylesheet" type="text/css" href="style-desktop.dfd76.css"/> -->
  <style type="text/css">

    #GameDiv{
      width: 860px;
      height:640px;
    }

    body{
      margin: 0;
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
    }

    /*#map{*/
      /*width: 480px;*/
    /*}*/

  </style>
  <link rel="icon" href="favicon.8de18.ico"/>
  <script>
    if(window.__DEV__){
      console.log('dev is true');
      let appPath = window.electron.remote.app.getAppPath();
      let jspath = window.path.join(appPath,'build/bundle');
      window.require(jspath);
    }else{
      console.log('dev is false');
      // let appPath = window.electron.remote.app.getAppPath();
      // console.log('appPath:',appPath);
      window.require('../bundle');
    }
  </script>
</head>
<body>
<div id="GameDiv">
  <canvas id="GameCanvas"></canvas>
  <div id="splash">
    <div class="progress-bar stripes">
      <span style="width: 0%"></span>
    </div>
  </div>
</div>
</body>
</html>
